<template>
    <div>
        <h1>v-bind的动态绑定事件</h1>
        <input type="text" v-model="id">
        <img :src="imgsrc" alt="">
        <a :href='"/datadetail?id=".toUpperCase()+(id+1)'>查看详情</a>
    </div>

</template>
<script>
export default {
    data() {
       return {
           imgsrc:'https://ss2.bdstatic.com/70cFvnSh_Q1YnxGkpoWK1HF6hhy/it/u=1588620919,359805583&fm=26&gp=0.jpg',
           id:1
       } 
    },
}
</script>